//
//  MainViewController.h
//  OpenGLExample
//
//  Copyright 2010 Google Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GADAdSenseParameters.h"
#import "GADAdViewController.h"

@class EAGLView;

@interface GADMasterViewController : UIViewController <
    GADAdViewControllerDelegate> {
  GADAdViewController *adViewController;
  EAGLView *glView;
}

@property(nonatomic, retain) GADAdViewController *adViewController;
@property(nonatomic, retain) IBOutlet EAGLView *glView;

- (UIViewController *)viewControllerForModalPresentation:
    (GADAdViewController *)adController;

@end


@protocol GADMasterViewControllerDelegate <NSObject>

- (GADAdViewController *)getAdViewController;

@end
